package com.itheima.entity;

import lombok.Data;

@Data  //getter方法、setter方法、toString方法、hashCode方法、equals方法
public class User {
    /*
    CREATE TABLE `user` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(100) DEFAULT NULL COMMENT '姓名',
  `age` tinyint(3) unsigned DEFAULT NULL COMMENT '年龄',
  `gender` tinyint(3) unsigned DEFAULT NULL COMMENT '性别, 1:男, 2:女',
  `phone` varchar(11) DEFAULT NULL COMMENT '手机号',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='用户表';
     */

    private Integer gender;
    private String phone;
    private Integer id;
    private String name;
    private Integer age;
}
